import axios from "@/utils/request";

export function addNotify(params){
    return axios({
        method:"post",
        url:"/notify",
        data:params
    })
}

export function deleteNotify(params){
    return axios({
        method:"delete",
        url:"/notify",
        data:params
    })
}

export function updateNotify(params){
    return axios({
        method:"put",
        url:"/notify",
        data:params
    })
}

export function selectNotify(params){
    return axios({
        method:"get",
        url:"/notify",
        params: {
            pageNum:params.pageNum,
            pageSize:params.pageSize,
            search:params.search,
        }
    })
}

export function queryShowNotifyList(params){
    return axios({
        method:"get",
        url:"/notify/queryShowNotifyList",
        params: params
    })
}